﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace UnitTestProject2
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            int a = 1999, b = 5, c = 4;
            if (b <= 11)
            {
                if (c < 31)
                {
                    c = c + 1;
                }
                if (c >= 31)
                {
                    c = 31 - c + 1;
                    b = b + 1;
                }
            }
            if (b > 11)
            {
                if (c < 31)
                {
                    c = c + 1;
                }
                if (c >= 31)
                {
                    c = 31 - c + 1;
                    b = 1;
                    a = a + 1;
                }
            }
        }
    }
}
